package com.atguigu.bean;

public class User {

    private Integer userId;
    private String userName;
    private String password;
    private Double money;

    public User() {
    }

    public User(Integer userId, String userName, String password, Double money) {
        this.userId = userId;
        this.userName = userName;
        this.password = password;
        this.money = money;
    }


    public Integer getuserId() {
        return userId;
    }

    public void setuserId(Integer userId) {
        this.userId = userId;
    }

    public String getuserName() {
        return userName;
    }

    public void setuserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", money=" + money +
                '}';
    }
}
